package Parse;

import Absyn.*;
public class Main {

  public static void main(String argv[])  {
      String filename = argv[0];
//      System.out.println(filename);
      Parse p=new Parse(filename);
      java.io.PrintStream out=System.out;
      Print pr=new Print(out);
      pr.prExp(p.absyn, 0);//p.absyn is Absyn.Exp
      Semant.Semant semant=new Semant.Semant(p.errorMsg);
      semant.transProg(p.absyn);
      
  }

}
